package pers.mine.po;

import java.io.Serializable;

import pers.mine.utils.MineStringUtils;

/**
 * 系统角色类
 * @author Mine
 * @since 2017年4月21日_下午11:24:23
 */
public class SysRole implements Serializable{
	private static final long serialVersionUID = 8404117749791191655L;

	private String id;

    private String name;

    private String desc;

    private Integer state;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = MineStringUtils.trim(id);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = MineStringUtils.trim(name);
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

	@Override
	public String toString() {
		return "SysRole [id=" + id + ", name=" + name + ", desc=" + desc
				+ ", state=" + state + "]";
	}
}